package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.TradingPoolOrder;
import com.sc.nft.entity.vo.DingLianDealPracticalVO;
import com.sc.nft.entity.vo.TradingPoolOrderSynchronizationVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author PC
 * @description 针对表【sc_trading_pool_order(生态池订单表)】的数据库操作Mapper
 * @createDate 2024-10-26 13:55:50
 * @Entity com.sc.nft.entity.TradingPoolOrder
 */
public interface TradingPoolOrderMapper extends BaseMapper<TradingPoolOrder> {


    /**
     * 今日成交数据同步
     *
     * @param tradingPoolId
     * @return
     */
    TradingPoolOrderSynchronizationVO getOrderSynchronizationByTradingPoolId(@Param("tradingPoolId") Long tradingPoolId);

    List<DingLianDealPracticalVO> dealTradingPracticalInConsensus();

    List<DingLianDealPracticalVO> dealTradingPracticalNotInConsensus();

}




